package ch03;

class OperatorEx02 {
	public static void main(String[] args) {
		int i = 5;
		int j = 0;
		j = i++;
		System.out.println("i=" + i + ", j=" + j); // i=6, j=5

		i = 5;
		j = 0;
		j = ++i;
		System.out.println("i=" + i + ", j=" + j); // i=6, j=6
	}
}